Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Weak reference



  Prototypes and Inheritance in JavaScript

Forget everything you know about object-oriented programming. Instead, I want you to think about race cars. Yes – race cars. Recently I was watching the 24 Hours of Le Mans –a popular racing event in France. The fastest cars in the race are the Le Mans Prototypes. Although these cars are built by car manufacturers like Audi and Peugeot, they are not cars you’ll see on the streets and highways of your home town. They are built exclusively for high-speed endurance ra...

   JavaScript,Prototype,Inheritance     2012-02-27 04:55:22

  World of Father of Ruby

"I am Yukihiro Matsumoto, I believe keyboard can change the world" is a video about Father of Ruby -- Yukihiro Matsumoto. This video introduces us a father, a husband rather than a programmer. Yukihiro Matsumoto shared his understanding about programming in this video. Computer is not quite smart, it cannot understand human languages, so if we want computers to complete jobs we assign to them, then we need something both human beings and computers can understand. That's why we have program...

   Yukihiro Matsumoto     2013-08-30 22:45:26

  Microsoft is to promote 80-inch Win8 Tablet PC

Microsoft VP Frank Shaw told Wired that Microsoft is going to offer 80-Inch Windows 8 Tablets PC. He said that Microsoft CEO Steve Ballmer has one such tablet PC, “Steve Ballmer has an 80-inch Windows 8 tablet in his office. He’s got rid of his phone, he’s got rid of his note paper. It’s touch-enabled and it’s hung on his wall.”He mentioned the display screen of the 80-inch Windows 8 tablet PC will not be made by Sharp. Earlier this year, at the CES in Las...

   tablet pc,Window 8,80-inch,Microsoft     2012-05-28 06:05:33

  Nokia unveils Lumia 820

Just finishing introducing the latest flagship model Lumia 920 Nokia introduced mid-range Lumia 820 which is equipped with Windows Phone 8The Lumia 820 is equipped with a Qualcomm Snapdragon S4 1.5GHz dual-core CPU, but the screen is 4.3 inch WVGA screen with 800 x 480 pixels, at the same time it is equipped with 8GB memory space and a 8-megapixel rear camera. In addition, users can extend 8 GB more memory space through Windows Phone 8's extension function.Lumia 820's screen adopts Super S...

   Nokia,Lumia 820,Window Phone 8     2012-09-05 19:10:14

  iPhone 5 vs Samsung Galaxy S3 drop test

With the launch of the iPhone 5, there are quite a few companies starting the test of Apple's new darling. Recently, Android Authority released a video of a test. The test is about ropping iPhone 5 and Galaxy S3 three times from different heights, the result is not good to Galaxy S3, although two phones can still work, the Galaxy S3 screen almost completely torn.In daily life, we may pull out the phone from our pocket and hold it in our hand, put the phone to our ear. In these three cases, the p...

   iPhone 5,Galaxy S3,drop test     2012-09-21 23:42:18

  Galaxy S III will be released on May 3

Samsung Galaxy S II's popularity makes people look forward to the next generation of Galaxy mobile phones. As 2012 London Olympic Games is approaching us, Galaxy S III is also near us. An anonymous message says that the Galaxy S III conference was scheduled on May 3 at London, UK, this year's Olympic Games host city.According to the information previously circulated, Samsung Galaxy S III will have a 720p high-definition display Super AMOLED, the screen size will be between 4.6 to 4.8 inches, a...

   Samsung Galaxy S III,Release     2012-04-16 16:09:18

  Why doesn't Microsoft involve in the patent war with Apple?

After Apple and Samsung patent war ends, Samsung immediately announced that they would continue to appeal. People are now guessing that the next target of Apple is Motorola and Google, while the situation getting worse, we could not help to ask why there is no emergence of Microsoft?At first glance, the answer seems to be very simple, both Microsoft Window 8 and Window Phone products do not have much intersection with Apple's products. But there is an unknown reason, there is a patent cross-lice...

   Microsoft,Apple,Patent     2012-08-27 22:10:19

  Good programmer made bad designers

I got an email request to publish this article a few days ago.I was actually on the verge of moving the email to the trash when I noticed the first name of the author: Rand.For those of you not familiar with the Wheel of Time series, the main character’s name is Rand.I admit that it’s an embarrassing weak reason to respond to a strange email, but reading some 10,000 pages of a fantasy series obviously messes with your mind.Then again, it’s probably no stranger than...

   Programmer,Designer,Comparison     2011-08-29 22:06:33

  Latest PHP patch cannot fix the bug

On Wednesday(2012-05-02), a remote code execution vulnerability in PHP was accidentally exposed to the Web, prompting fears that it may be used to target vulnerable websites on a massive scale. The bug itself was traced back to 2004, and came to light during a recent CTF competition.A CERT advisory on the flaw explains: “When PHP is used in a CGI-based setup (such as Apache's mod_cgid), the php-cgi receives a processed query string parameter as command line arguments which allows com...

   PHP,bug,patch,bypassed     2012-05-08 11:20:56

  Is Scala Only for Computer Scientists?

I have experience struggling through these kinds of things andI know enough about the subject that I can understand why they did it that way. But my concern is that this should be an example that a beginner could understand, and they can't. There's too much depth exposed. Here's the example, which is written as a script: import scala.io.Source._ case class Registrant(line: String) { val data = line.split(",") val first = data(0) val last = data(1) val email = data(2) val payment = da...

   Scala,Application field,Computer science     2012-02-17 07:46:40